<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html lang="en">
<head>
  <title>货物入库登记</title>
  <meta charset="UTF-8">
  <script type="text/javascript" src="/Public/hdjs/jquery-1.11.3.min.js"></script>
    <link rel="stylesheet" href="/Public/hdjs/hdjs.css"/>
    <script type="text/javascript" src="/Public/hdjs/hdjs.min.js"></script>
  <link href="/Public/css/mine.css" type="text/css" rel="stylesheet" />
</head>
<body>
  <div class="div_head">
    <span>
      <span style="float: left;">当前位置是：仓库管理 >>货物入库登记</span>
    </span>
  </div>
  <div class="hd-w700" style="padding:20px;margin:0 auto">
      <table class="hd-table hd-table-form hd-form">
    <thead>
        <tr>
          <th colspan="2">货物入库登记</th>
        </tr>
    </thead>
        <tr>
          <td class="hd-w120 t_r">货物名称：</td>
          <td><?php echo ($l_info["g_name"]); ?></td>
        </tr>
        <tr>
          <td class="hd-w120 t_r">所属仓库：</td>
          <td><?php echo ($l_info["name"]); ?></td>
        </tr>
        <tr>
          <td class="hd-w120 t_r">货物单位：</td>
          <td><?php echo ($l_info["dw_name"]); ?></td>
        </tr>
        <tr>
          <td class="hd-w120 t_r">操作行为：</td>
          <td><?php if($l_info['aid'] == 1 ): ?>入库<?php else: ?>出库<?php endif; ?></td>
        </tr>
         <tr>
          <td class="hd-w120 t_r">操作登记数量：</td>
          <td><?php echo ($l_info["gcount"]); ?></td>
        </tr>
        <tr>
          <td class="hd-w120 t_r">操作原因：</td>
          <td><?php echo ($l_info["a_info"]); ?></td>
        </tr>
        <tr>
          <td class="hd-w120 t_r">申请人：</td>
          <td>【<?php echo (session('mg_name')); ?>】</td>
        </tr>
        <tr>
          <td colspan="2" align="center">
          <a href="<?php echo U('check_d',array('lid'=>$l_info['lid'],'cnum'=>1));?>" class="hd-btn hd-btn-primary hd-btn-sm">通过申请</a>
          <a href="<?php echo U('check_d',array('lid'=>$l_info['lid'],'cnum'=>2));?>" class="hd-btn hd-btn-danger hd-btn-sm">拒绝申请</a>
          </td>
        </tr>
      </table>
  </div>

    </body>
</html>